package com.neusoft.entity;/*
 * Welcome to use the TableToBean Tools.
 * 
 * http://vipbooks.iteye.com
 * http://blog.csdn.net/vipbooks
 * http://www.cnblogs.com/vipbooks
 * 
 * Author:bianj
 * Email:edinsker@163.com
 * Version:3.6.0
 */

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;
import org.springframework.stereotype.Component;

import java.sql.Timestamp;
import java.util.List;

/**
 * (ARTICLES)
 * 
 * @author bianj
 * @version 1.0.0 2024-10-22
 */
@TableName("articles")
public class ArticlesEntity {
    /** 版本号 */
    private static final long serialVersionUID = -4943939569773244180L;

    @JsonIgnore
    /**  */
    private Long id;
    
    /**  */
    private Long userId;
    
    /**  */
    private String slug;
    
    /**  */
    private String title;
    
    /**  */
    private String description;
    
    /**  */
    private String body;
    
    /**  */
    private Timestamp createdAt;
    
    /**  */
    private Timestamp updatedAt;

    private List<String> errorList;
    
    /**
     * 获取
     * 
     * @return 
     */
    public Long getId() {
        return this.id;
    }
     
    /**
     * 设置
     * 
     * @param id
     *          
     */
    public void setId(Long id) {
        this.id = id;
    }
    
    /**
     * 获取
     * 
     * @return 
     */
    public Long getUserId() {
        return this.userId;
    }
     
    /**
     * 设置
     * 
     * @param userId
     *          
     */
    public void setUserId(Long userId) {
        this.userId = userId;
    }
    
    /**
     * 获取
     * 
     * @return 
     */
    public String getSlug() {
        return this.slug;
    }
     
    /**
     * 设置
     * 
     * @param slug
     *          
     */
    public void setSlug(String slug) {
        this.slug = slug;
    }
    
    /**
     * 获取
     * 
     * @return 
     */
    public String getTitle() {
        return this.title;
    }
     
    /**
     * 设置
     * 
     * @param title
     *          
     */
    public void setTitle(String title) {
        this.title = title;
    }
    
    /**
     * 获取
     * 
     * @return 
     */
    public String getDescription() {
        return this.description;
    }
     
    /**
     * 设置
     * 
     * @param description
     *          
     */
    public void setDescription(String description) {
        this.description = description;
    }
    
    /**
     * 获取
     * 
     * @return 
     */
    public String getBody() {
        return this.body;
    }
     
    /**
     * 设置
     * 
     * @param body
     *          
     */
    public void setBody(String body) {
        this.body = body;
    }
    
    /**
     * 获取
     * 
     * @return 
     */
    public Timestamp getCreatedAt() {
        return this.createdAt;
    }
     
    /**
     * 设置
     * 
     * @param createdAt
     *          
     */
    public void setCreatedAt(Timestamp createdAt) {
        this.createdAt = createdAt;
    }
    
    /**
     * 获取
     * 
     * @return 
     */
    public Timestamp getUpdatedAt() {
        return this.updatedAt;
    }
     
    /**
     * 设置
     * 
     * @param updatedAt
     *          
     */
    public void setUpdatedAt(Timestamp updatedAt) {
        this.updatedAt = updatedAt;
    }
}